package com.chima.service.impl;

import java.util.List;

import com.chima.dao.CoreDao;
import com.chima.domain.Core;
import com.chima.service.CoreService;

public class CoreServiceImp implements CoreService {
	private CoreDao coreDao;
	
	public CoreDao getCoreDao() {
		return coreDao;
	}
	public void setCoreDao(CoreDao coreDao) {
		this.coreDao = coreDao;
	}
	public List<Core> findByLevelAndPoerpty(int level, int perproty) {
		return coreDao.findCores(level, perproty);
	}

}
